.class public Lcom/estrongs/android/pop/app/LocalFileSharingActivity;
.super Lcom/estrongs/android/ui/base/HomeAsBackActivity;
.source "LocalFileSharingActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;
.implements Les/z80;
.implements Les/w80;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;
    }
.end annotation


# static fields
.field private static y:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;


# instance fields
.field private j:Landroid/app/NotificationManager;

.field private k:Z

.field private l:Landroid/widget/ListView;

.field private m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

.field private n:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation
.end field

.field private o:Landroid/widget/BaseAdapter;

.field private p:Les/m70;

.field private q:Landroid/os/Handler;

.field private r:Lcom/estrongs/android/ui/theme/b;

.field private s:Lcom/estrongs/android/ui/dialog/q;

.field t:Landroid/widget/TextView;

.field private u:Landroid/widget/ProgressBar;

.field private v:Landroid/widget/FrameLayout;

.field private w:Les/v00;

.field private x:Les/v00;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->k:Z

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->n:Ljava/util/List;

    const/4 v0, 0x0

    .line 4
    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->u:Landroid/widget/ProgressBar;

    return-void
.end method

.method static synthetic K()Lcom/estrongs/android/pop/app/LocalFileSharingActivity;
    .locals 1

    .line 1
    sget-object v0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->y:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    return-object v0
.end method

.method private L()V
    .locals 4

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 1
    :goto_0
    iget-object v2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    array-length v3, v2

    if-ge v1, v3, :cond_1

    .line 2
    aget-object v2, v2, v1

    iget-boolean v2, v2, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    if-nez v2, :cond_0

    goto :goto_1

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 3
    :cond_1
    :goto_1
    iget-object v2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    array-length v2, v2

    const/4 v3, 0x1

    if-ne v1, v2, :cond_2

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->w:Les/v00;

    invoke-virtual {v1, v0}, Les/v00;->setVisible(Z)Les/v00;

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->x:Les/v00;

    invoke-virtual {v0, v3}, Les/v00;->setVisible(Z)Les/v00;

    goto :goto_2

    .line 6
    :cond_2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->w:Les/v00;

    invoke-virtual {v1, v3}, Les/v00;->setVisible(Z)Les/v00;

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->x:Les/v00;

    invoke-virtual {v1, v0}, Les/v00;->setVisible(Z)Les/v00;

    .line 8
    :goto_2
    invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->invalidateOptionsMenu()V

    return-void
.end method

.method private M()Landroid/widget/BaseAdapter;
    .locals 1

    .line 1
    new-instance v0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$b;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->o:Landroid/widget/BaseAdapter;

    return-object v0
.end method

.method public static N()V
    .locals 1

    .line 1
    sget-object v0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->y:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    invoke-direct {v0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->O()V

    .line 3
    sget-object v0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->y:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->o:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    return-void
.end method

.method private O()V
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    monitor-enter v0

    .line 2
    :try_start_0
    invoke-static {p0}, Les/m70;->a(Landroid/content/Context;)[Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->a([Ljava/lang/String;)[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    move-result-object v1

    const/4 v2, 0x0

    const/4 v3, 0x0

    .line 3
    :goto_0
    array-length v4, v1

    if-ge v3, v4, :cond_2

    const/4 v4, 0x0

    .line 4
    :goto_1
    iget-object v5, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    array-length v5, v5

    if-ge v4, v5, :cond_1

    .line 5
    iget-object v5, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    aget-object v5, v5, v4

    iget-object v5, v5, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->b:Ljava/lang/String;

    aget-object v6, v1, v3

    iget-object v6, v6, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->b:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_0

    .line 6
    aget-object v5, v1, v3

    iget-object v6, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    aget-object v6, v6, v4

    iget-boolean v6, v6, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    iput-boolean v6, v5, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    :cond_0
    add-int/lit8 v4, v4, 0x1

    goto :goto_1

    :cond_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 7
    :cond_2
    iput-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    .line 8
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->L()V

    .line 9
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_3

    :goto_2
    throw v1

    :goto_3
    goto :goto_2
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->O()V

    return-void
.end method

.method public static a(Les/sp;Ljava/util/ArrayList;Z)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;Z)V"
        }
    .end annotation

    .line 15
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string v1, "play"

    .line 16
    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string p2, "files_selected"

    .line 17
    invoke-virtual {v0, p2, p1}, Landroid/content/Intent;->putStringArrayListExtra(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;

    .line 18
    invoke-interface {p0}, Les/tp;->f()Landroid/content/Context;

    move-result-object p1

    const-class p2, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    invoke-virtual {v0, p1, p2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 19
    invoke-interface {p0}, Les/sp;->l()Landroid/app/Activity;

    move-result-object p0

    invoke-virtual {p0, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method public static a(Les/sp;Ljava/util/List;)V
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)V"
        }
    .end annotation

    const/4 v0, 0x0

    .line 2
    invoke-static {p0, p1, v0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->a(Les/sp;Ljava/util/List;Z)V

    return-void
.end method

.method public static a(Les/sp;Ljava/util/List;Z)V
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Les/sp;",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;Z)V"
        }
    .end annotation

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 4
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_1

    .line 5
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    instance-of v3, v3, Les/y10;

    if-eqz v3, :cond_0

    .line 6
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/y10;

    .line 7
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3}, Lcom/estrongs/fs/a;->d()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v5, "\n"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Lcom/estrongs/fs/m;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, ".apk"

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 8
    :cond_0
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/fs/g;

    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :goto_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 9
    :cond_1
    invoke-interface {p0}, Les/tp;->f()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Les/m70;->b(Landroid/content/Context;)[B

    move-result-object p1

    if-nez p1, :cond_2

    .line 10
    invoke-static {p0, v0, p2}, Lcom/estrongs/android/pop/app/network/EsNetworkActivity;->a(Les/sp;Ljava/util/ArrayList;Z)V

    return-void

    .line 11
    :cond_2
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result p1

    const/4 v2, 0x1

    if-ne p1, v2, :cond_3

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/String;

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->U1(Ljava/lang/String;)Z

    move-result p1

    if-eqz p1, :cond_3

    .line 12
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v2, Lcom/estrongs/android/pop/a;->b:Ljava/lang/String;

    invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, "/"

    invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 13
    invoke-interface {p0}, Les/sp;->l()Landroid/app/Activity;

    move-result-object v2

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    new-instance v4, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$h;

    invoke-direct {v4, v0, p1, p0, p2}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$h;-><init>(Ljava/util/ArrayList;Ljava/lang/String;Les/sp;Z)V

    invoke-static {v2, v3, p1, v4, v1}, Lcom/estrongs/android/pop/view/utils/b;->a(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Runnable;Z)V

    return-void

    .line 14
    :cond_3
    invoke-static {p0, v0, p2}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->a(Les/sp;Ljava/util/ArrayList;Z)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)Landroid/widget/BaseAdapter;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->o:Landroid/widget/BaseAdapter;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    return-object p0
.end method

.method static synthetic d(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)Landroid/widget/ProgressBar;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->u:Landroid/widget/ProgressBar;

    return-object p0
.end method

.method static synthetic e(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)Lcom/estrongs/android/ui/theme/b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->r:Lcom/estrongs/android/ui/theme/b;

    return-object p0
.end method

.method private f(Z)V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->v:Landroid/widget/FrameLayout;

    if-nez v0, :cond_3

    const v0, 0x7f090183

    .line 2
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->v:Landroid/widget/FrameLayout;

    const v1, 0x7f0906e7

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->l:Landroid/widget/ListView;

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->v:Landroid/widget/FrameLayout;

    const v1, 0x7f0903e4

    invoke-virtual {v0, v1}, Landroid/widget/FrameLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->t:Landroid/widget/TextView;

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->l:Landroid/widget/ListView;

    invoke-virtual {v1, v0}, Landroid/widget/ListView;->setEmptyView(Landroid/view/View;)V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->l:Landroid/widget/ListView;

    invoke-direct {p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->M()Landroid/widget/BaseAdapter;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->l:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    const v0, 0x7f09092b

    .line 8
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->u:Landroid/widget/ProgressBar;

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    monitor-enter v0

    .line 10
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    array-length v1, v1

    const/4 v2, 0x0

    if-nez v1, :cond_1

    .line 11
    iget-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->p:Les/m70;

    if-nez v1, :cond_0

    if-eqz p1, :cond_0

    const/4 p1, 0x1

    .line 12
    invoke-static {p0, p0, p0, p1}, Les/m70;->a(Landroid/app/Activity;Les/z80;Les/w80;Z)Les/m70;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->p:Les/m70;

    .line 13
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->u:Landroid/widget/ProgressBar;

    invoke-virtual {p1, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 14
    iget-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->t:Landroid/widget/TextView;

    const-string v1, ""

    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 15
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->p:Les/m70;

    if-eqz p1, :cond_2

    .line 16
    iget-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->u:Landroid/widget/ProgressBar;

    invoke-virtual {p1, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 17
    :cond_2
    :goto_0
    monitor-exit v0

    goto :goto_1

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1

    :cond_3
    :goto_1
    return-void
.end method


# virtual methods
.method public F()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->p:Les/m70;

    if-eqz v0, :cond_0

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/dialog/b1;

    const v1, 0x7f1108f4

    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->p:Les/m70;

    invoke-direct {v0, p0, v1, v2}, Lcom/estrongs/android/ui/dialog/b1;-><init>(Landroid/content/Context;Ljava/lang/String;Les/s80;)V

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void

    :cond_0
    const/4 v0, 0x1

    .line 3
    invoke-static {p0, p0, p0, v0}, Les/m70;->a(Landroid/app/Activity;Les/z80;Les/w80;Z)Les/m70;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->p:Les/m70;

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->u:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    return-void
.end method

.method public G()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    monitor-enter v0

    const/4 v1, 0x0

    .line 2
    :goto_0
    :try_start_0
    iget-object v2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    array-length v2, v2

    if-ge v1, v2, :cond_0

    .line 3
    iget-object v2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    aget-object v2, v2, v1

    const/4 v3, 0x1

    iput-boolean v3, v2, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 4
    :cond_0
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 5
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->L()V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->o:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    return-void

    :catchall_0
    move-exception v1

    .line 7
    :try_start_1
    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_2

    :goto_1
    throw v1

    :goto_2
    goto :goto_1
.end method

.method public H()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    monitor-enter v0

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 2
    :goto_0
    :try_start_0
    iget-object v3, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    array-length v3, v3

    if-ge v2, v3, :cond_0

    .line 3
    iget-object v3, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    aget-object v3, v3, v2

    iput-boolean v1, v3, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 4
    :cond_0
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 5
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->L()V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->o:Landroid/widget/BaseAdapter;

    invoke-virtual {v0}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    return-void

    :catchall_0
    move-exception v1

    .line 7
    :try_start_1
    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_2

    :goto_1
    throw v1

    :goto_2
    goto :goto_1
.end method

.method public I()V
    .locals 9

    const v0, 0x7f1108fb

    .line 1
    :try_start_0
    invoke-virtual {p0, v0}, Landroid/app/Activity;->setTitle(I)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    monitor-enter v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    const/4 v1, 0x0

    const/4 v2, 0x0

    const/4 v3, 0x0

    .line 3
    :goto_0
    :try_start_1
    iget-object v4, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    array-length v4, v4

    const/4 v5, 0x1

    if-ge v2, v4, :cond_4

    .line 4
    iget-object v4, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    aget-object v4, v4, v2

    iget-boolean v4, v4, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    if-eqz v4, :cond_3

    .line 5
    iget-boolean v3, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->k:Z

    if-eqz v3, :cond_2

    .line 6
    iget-object v3, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->n:Ljava/util/List;

    invoke-interface {v3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/fs/g;

    iget-object v4, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    aget-object v4, v4, v2

    iget-object v4, v4, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->b:Ljava/lang/String;

    invoke-static {p0, v3, v4}, Les/n70;->a(Landroid/content/Context;Lcom/estrongs/fs/g;Ljava/lang/String;)Les/n70;

    .line 7
    new-instance v3, Landroid/content/Intent;

    const-class v4, Lcom/estrongs/android/pop/app/FileSharingNotificationActivity;

    invoke-direct {v3, p0, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 8
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    .line 9
    iget-object v6, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->n:Ljava/util/List;

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    const/4 v7, 0x0

    :goto_1
    if-ge v7, v6, :cond_1

    .line 10
    iget-object v8, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->n:Ljava/util/List;

    invoke-interface {v8, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lcom/estrongs/fs/g;

    invoke-interface {v8}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v4, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v8, v6, -0x1

    if-ge v7, v8, :cond_0

    const-string v8, ","

    .line 11
    invoke-virtual {v4, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_0
    add-int/lit8 v7, v7, 0x1

    goto :goto_1

    :cond_1
    const/high16 v6, 0x4000000

    .line 12
    invoke-virtual {v3, v6}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    const-string v6, "file_name"

    .line 13
    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v6, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/high16 v4, 0x8000000

    .line 14
    invoke-static {p0, v1, v3, v4}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v3

    .line 15
    new-instance v4, Landroid/app/Notification$Builder;

    invoke-direct {v4, p0}, Landroid/app/Notification$Builder;-><init>(Landroid/content/Context;)V

    const v6, 0x7f110071

    .line 16
    invoke-virtual {p0, v6}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v4, v7}, Landroid/app/Notification$Builder;->setTicker(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;

    move-result-object v4

    const v7, 0x7f0809c0

    .line 17
    invoke-virtual {v4, v7}, Landroid/app/Notification$Builder;->setSmallIcon(I)Landroid/app/Notification$Builder;

    move-result-object v4

    .line 18
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v7

    invoke-virtual {v4, v7, v8}, Landroid/app/Notification$Builder;->setWhen(J)Landroid/app/Notification$Builder;

    move-result-object v4

    .line 19
    invoke-virtual {v4, v5}, Landroid/app/Notification$Builder;->setOngoing(Z)Landroid/app/Notification$Builder;

    move-result-object v4

    .line 20
    invoke-virtual {p0, v6}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v4, v6}, Landroid/app/Notification$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder;

    move-result-object v4

    .line 21
    invoke-virtual {v4, v3}, Landroid/app/Notification$Builder;->setContentIntent(Landroid/app/PendingIntent;)Landroid/app/Notification$Builder;

    move-result-object v3

    .line 22
    invoke-virtual {v3}, Landroid/app/Notification$Builder;->getNotification()Landroid/app/Notification;

    move-result-object v3

    .line 23
    iget-object v4, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->j:Landroid/app/NotificationManager;

    invoke-virtual {v4, v5, v3}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V

    goto :goto_2

    .line 24
    :cond_2
    iget-object v3, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->n:Ljava/util/List;

    iget-object v4, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    aget-object v4, v4, v2

    iget-object v4, v4, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->b:Ljava/lang/String;

    invoke-static {p0, v3, v4, v5}, Les/p70;->a(Landroid/app/Activity;Ljava/util/List;Ljava/lang/String;Z)Les/p70;

    :goto_2
    const/4 v3, 0x1

    :cond_3
    add-int/lit8 v2, v2, 0x1

    goto/16 :goto_0

    :cond_4
    if-eqz v3, :cond_5

    .line 25
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    goto :goto_3

    :cond_5
    const v1, 0x7f1109c3

    .line 26
    invoke-static {p0, v1, v5}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    .line 27
    :goto_3
    monitor-exit v0

    goto :goto_4

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :try_start_2
    throw v1
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    :catch_0
    :goto_4
    return-void
.end method

.method public J()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->s:Lcom/estrongs/android/ui/dialog/q;

    if-nez v0, :cond_1

    .line 2
    invoke-static {p0}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f0c00da

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 3
    new-instance v1, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v2, 0x7f11065f

    .line 4
    invoke-virtual {v1, v2}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    .line 5
    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/dialog/q$n;->a(Landroid/view/View;)Lcom/estrongs/android/ui/dialog/q$n;

    const v2, 0x7f0901c6

    .line 6
    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    .line 7
    new-instance v3, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$i;

    invoke-direct {v3, p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$i;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v2, 0x7f0901c0

    .line 8
    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    .line 9
    new-instance v3, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$j;

    invoke-direct {v3, p0, v1}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$j;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;Lcom/estrongs/android/ui/dialog/q$n;)V

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v2, 0x7f0901b0

    .line 10
    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    .line 11
    new-instance v3, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$k;

    invoke-direct {v3, p0, v1}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$k;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;Lcom/estrongs/android/ui/dialog/q$n;)V

    invoke-virtual {v2, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v3, 0x7f0901ab

    .line 12
    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    .line 13
    new-instance v3, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$a;

    invoke-direct {v3, p0, v1}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$a;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;Lcom/estrongs/android/ui/dialog/q$n;)V

    invoke-virtual {v0, v3}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 14
    sget-boolean v0, Lcom/estrongs/android/pop/j;->C:Z

    if-nez v0, :cond_0

    goto :goto_0

    :cond_0
    const/16 v0, 0x8

    .line 15
    invoke-virtual {v2, v0}, Landroid/widget/Button;->setVisibility(I)V

    .line 16
    :goto_0
    invoke-virtual {v1}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->s:Lcom/estrongs/android/ui/dialog/q;

    goto :goto_1

    .line 17
    :cond_1
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    :goto_1
    return-void
.end method

.method public a(Les/s80;II)V
    .locals 0

    const/4 p1, 0x4

    if-eq p3, p1, :cond_0

    const/4 p1, 0x5

    if-ne p3, p1, :cond_2

    .line 20
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->q:Landroid/os/Handler;

    const/4 p2, 0x1

    const/4 p3, 0x0

    invoke-static {p1, p2, p3}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 21
    iget-object p2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->q:Landroid/os/Handler;

    if-eqz p2, :cond_1

    .line 22
    invoke-virtual {p2, p1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 23
    :cond_1
    iput-object p3, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->p:Les/m70;

    :cond_2
    return-void
.end method

.method public a(Les/s80;Les/w80$a;)V
    .locals 1

    .line 24
    iget-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->q:Landroid/os/Handler;

    iget-object p2, p2, Les/w80$a;->a:Ljava/lang/String;

    const/4 v0, 0x0

    invoke-static {p1, v0, p2}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 25
    iget-object p2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->q:Landroid/os/Handler;

    if-eqz p2, :cond_0

    .line 26
    invoke-virtual {p2, p1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    :cond_0
    return-void
.end method

.method protected f(Ljava/util/List;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Les/v00;",
            ">;)V"
        }
    .end annotation

    .line 18
    new-instance v0, Les/v00;

    const v1, 0x7f0809c6

    const v2, 0x7f110062

    invoke-direct {v0, v1, v2}, Les/v00;-><init>(II)V

    new-instance v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$d;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$d;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V

    .line 19
    invoke-virtual {v0, v1}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 20
    new-instance v1, Les/v00;

    const v2, 0x7f080984

    const v3, 0x7f11006b

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$e;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$e;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V

    .line 21
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    iput-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->w:Les/v00;

    .line 22
    new-instance v1, Les/v00;

    const v2, 0x7f080980

    const v3, 0x7f11006e

    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$f;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$f;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V

    .line 23
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    const/4 v2, 0x0

    .line 24
    invoke-virtual {v1, v2}, Les/v00;->setVisible(Z)Les/v00;

    iput-object v1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->x:Les/v00;

    .line 25
    new-instance v1, Les/v00;

    iget-boolean v2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->k:Z

    if-eqz v2, :cond_0

    const v2, 0x7f0809c0

    goto :goto_0

    :cond_0
    const v2, 0x7f0809d5

    :goto_0
    iget-boolean v3, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->k:Z

    if-eqz v3, :cond_1

    const v3, 0x7f11005d

    goto :goto_1

    :cond_1
    const v3, 0x7f11006f

    :goto_1
    invoke-direct {v1, v2, v3}, Les/v00;-><init>(II)V

    new-instance v2, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$g;

    invoke-direct {v2, p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$g;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V

    .line 26
    invoke-virtual {v1, v2}, Les/v00;->setOnMenuItemClickListener(Landroid/view/MenuItem$OnMenuItemClickListener;)Les/v00;

    .line 27
    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 28
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->w:Les/v00;

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 29
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->x:Les/v00;

    invoke-interface {p1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 30
    invoke-interface {p1, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 18

    move-object/from16 v1, p0

    .line 1
    invoke-super/range {p0 .. p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual/range {p0 .. p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    :cond_0
    const v0, 0x7f0c016c

    .line 3
    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->setContentView(I)V

    const v0, 0x7f1103ff

    .line 4
    invoke-virtual {v1, v0}, Landroid/app/Activity;->setTitle(I)V

    const-string v0, "notification"

    .line 5
    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    iput-object v0, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->j:Landroid/app/NotificationManager;

    .line 6
    invoke-virtual/range {p0 .. p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->v()Lcom/estrongs/android/ui/theme/b;

    move-result-object v0

    iput-object v0, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->r:Lcom/estrongs/android/ui/theme/b;

    .line 7
    invoke-static/range {p0 .. p0}, Les/m70;->a(Landroid/content/Context;)[Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->a([Ljava/lang/String;)[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    move-result-object v0

    iput-object v0, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    .line 8
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const/4 v2, 0x0

    const-string v3, "play"

    invoke-virtual {v0, v3, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->k:Z

    .line 9
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v3, "files_selected"

    .line 10
    invoke-virtual {v0, v3}, Landroid/content/Intent;->getStringArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v0

    const/4 v3, 0x1

    if-eqz v0, :cond_2

    const/4 v4, 0x0

    .line 11
    :goto_0
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v5

    if-ge v4, v5, :cond_13

    .line 12
    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    const-string v6, "\n"

    .line 13
    invoke-virtual {v5, v6}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v5

    .line 14
    invoke-static/range {p0 .. p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v6

    aget-object v7, v5, v2

    invoke-virtual {v6, v7}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v6

    .line 15
    array-length v7, v5

    if-le v7, v3, :cond_1

    .line 16
    aget-object v5, v5, v3

    const-string v7, "displayname"

    invoke-interface {v6, v7, v5}, Lcom/estrongs/fs/g;->a(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

    .line 17
    :cond_1
    iget-object v5, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->n:Ljava/util/List;

    invoke-interface {v5, v6}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 18
    :cond_2
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    .line 19
    sget-object v4, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string v6, "*****************"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    const-string v4, "android.intent.action.SEND"

    .line 20
    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    const v5, 0x7f110774

    const-string v6, "com.estrongs.files"

    const/4 v7, 0x0

    const-string v8, "media"

    const-string v9, "content"

    const-string v10, "android.intent.extra.STREAM"

    const-string v11, "_data"

    if-eqz v4, :cond_a

    .line 21
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;

    move-result-object v0

    check-cast v0, Landroid/net/Uri;

    if-nez v0, :cond_3

    .line 22
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V

    return-void

    .line 23
    :cond_3
    invoke-virtual {v0}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v4

    .line 24
    invoke-static/range {p0 .. p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v10

    .line 25
    invoke-virtual {v0}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v12

    if-eqz v12, :cond_9

    .line 26
    invoke-virtual {v12, v9}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v9

    if-eqz v9, :cond_9

    .line 27
    invoke-virtual {v0}, Landroid/net/Uri;->getHost()Ljava/lang/String;

    move-result-object v4

    .line 28
    invoke-virtual {v4, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-nez v8, :cond_4

    invoke-virtual {v6, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_4

    .line 29
    invoke-static {v1, v5, v3}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    .line 30
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V

    return-void

    :cond_4
    :try_start_0
    new-array v14, v3, [Ljava/lang/String;

    aput-object v11, v14, v2

    .line 31
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v12

    const/4 v15, 0x0

    const/16 v16, 0x0

    const/16 v17, 0x0

    move-object v13, v0

    invoke-virtual/range {v12 .. v17}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v7

    if-nez v7, :cond_6

    .line 32
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-eqz v7, :cond_5

    .line 33
    invoke-interface {v7}, Landroid/database/Cursor;->close()V

    :cond_5
    return-void

    .line 34
    :cond_6
    :try_start_1
    invoke-interface {v7}, Landroid/database/Cursor;->moveToNext()Z

    .line 35
    invoke-interface {v7, v11}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v2

    .line 36
    invoke-interface {v7, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    if-eqz v7, :cond_9

    .line 37
    invoke-interface {v7}, Landroid/database/Cursor;->close()V

    goto :goto_2

    :catchall_0
    move-exception v0

    goto :goto_1

    .line 38
    :catch_0
    :try_start_2
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    if-eqz v7, :cond_7

    .line 39
    invoke-interface {v7}, Landroid/database/Cursor;->close()V

    :cond_7
    return-void

    :goto_1
    if-eqz v7, :cond_8

    invoke-interface {v7}, Landroid/database/Cursor;->close()V

    .line 40
    :cond_8
    throw v0

    .line 41
    :cond_9
    :goto_2
    iget-object v2, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->n:Ljava/util/List;

    invoke-virtual {v10, v4}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v4

    invoke-interface {v2, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 42
    invoke-static/range {p0 .. p0}, Les/m70;->b(Landroid/content/Context;)[B

    move-result-object v2

    if-nez v2, :cond_13

    .line 43
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 44
    invoke-virtual {v0}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 45
    iget-boolean v0, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->k:Z

    invoke-static {v1, v2, v0}, Lcom/estrongs/android/pop/app/network/EsNetworkActivity;->a(Les/sp;Ljava/util/ArrayList;Z)V

    .line 46
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V

    return-void

    :cond_a
    const-string v4, "android.intent.action.SEND_MULTIPLE"

    .line 47
    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_14

    .line 48
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 49
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0, v10}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v0

    if-nez v0, :cond_b

    .line 50
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V

    return-void

    :cond_b
    const/4 v4, 0x0

    .line 51
    :goto_3
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v10

    if-ge v4, v10, :cond_13

    .line 52
    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v10

    move-object v13, v10

    check-cast v13, Landroid/net/Uri;

    .line 53
    invoke-virtual {v13}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v10

    .line 54
    invoke-static/range {p0 .. p0}, Lcom/estrongs/fs/f;->a(Landroid/content/Context;)Lcom/estrongs/fs/f;

    move-result-object v15

    .line 55
    invoke-virtual {v13}, Landroid/net/Uri;->getScheme()Ljava/lang/String;

    move-result-object v12

    if-eqz v12, :cond_12

    .line 56
    invoke-virtual {v12, v9}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v12

    if-eqz v12, :cond_12

    .line 57
    invoke-virtual {v13}, Landroid/net/Uri;->getHost()Ljava/lang/String;

    move-result-object v10

    .line 58
    invoke-virtual {v10, v8}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v12

    if-nez v12, :cond_c

    invoke-virtual {v6, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-nez v10, :cond_c

    .line 59
    invoke-static {v1, v5, v3}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    .line 60
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V

    return-void

    :cond_c
    :try_start_3
    new-array v14, v3, [Ljava/lang/String;

    aput-object v11, v14, v2

    .line 61
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v12

    const/4 v10, 0x0

    const/16 v16, 0x0

    const/16 v17, 0x0

    move-object v2, v15

    move-object v15, v10

    invoke-virtual/range {v12 .. v17}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v10
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2
    .catchall {:try_start_3 .. :try_end_3} :catchall_2

    if-nez v10, :cond_e

    .line 62
    :try_start_4
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_1
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    if-eqz v10, :cond_d

    .line 63
    invoke-interface {v10}, Landroid/database/Cursor;->close()V

    :cond_d
    return-void

    .line 64
    :cond_e
    :try_start_5
    invoke-interface {v10}, Landroid/database/Cursor;->moveToNext()Z

    .line 65
    invoke-interface {v10, v11}, Landroid/database/Cursor;->getColumnIndexOrThrow(Ljava/lang/String;)I

    move-result v12

    .line 66
    invoke-interface {v10, v12}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v12
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_1
    .catchall {:try_start_5 .. :try_end_5} :catchall_1

    if-eqz v10, :cond_f

    .line 67
    invoke-interface {v10}, Landroid/database/Cursor;->close()V

    :cond_f
    move-object v10, v12

    goto :goto_6

    :catchall_1
    move-exception v0

    move-object v7, v10

    goto :goto_5

    :catch_1
    move-object v7, v10

    goto :goto_4

    :catchall_2
    move-exception v0

    goto :goto_5

    .line 68
    :catch_2
    :goto_4
    :try_start_6
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_2

    if-eqz v7, :cond_10

    .line 69
    invoke-interface {v7}, Landroid/database/Cursor;->close()V

    :cond_10
    return-void

    :goto_5
    if-eqz v7, :cond_11

    invoke-interface {v7}, Landroid/database/Cursor;->close()V

    .line 70
    :cond_11
    throw v0

    :cond_12
    move-object v2, v15

    .line 71
    :goto_6
    iget-object v12, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->n:Ljava/util/List;

    invoke-virtual {v2, v10}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object v2

    invoke-interface {v12, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v4, v4, 0x1

    const/4 v2, 0x0

    goto/16 :goto_3

    .line 72
    :cond_13
    invoke-direct {v1, v3}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->f(Z)V

    .line 73
    sput-object v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->y:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    .line 74
    new-instance v0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$c;

    invoke-direct {v0, v1}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$c;-><init>(Lcom/estrongs/android/pop/app/LocalFileSharingActivity;)V

    iput-object v0, v1, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->q:Landroid/os/Handler;

    return-void

    .line 75
    :cond_14
    invoke-virtual/range {p0 .. p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->u()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->p:Les/m70;

    if-eqz v0, :cond_1

    .line 4
    invoke-virtual {v0, p0}, Les/s80;->b(Les/z80;)V

    :cond_1
    const/4 v0, 0x0

    .line 5
    sput-object v0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->y:Lcom/estrongs/android/pop/app/LocalFileSharingActivity;

    return-void
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    monitor-enter p1

    .line 2
    :try_start_0
    iget-object p2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    array-length p2, p2

    if-eqz p2, :cond_1

    .line 3
    iget-object p2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->m:[Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;

    aget-object p2, p2, p3

    .line 4
    iget-boolean p3, p2, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    if-nez p3, :cond_0

    const/4 p3, 0x1

    goto :goto_0

    :cond_0
    const/4 p3, 0x0

    :goto_0
    iput-boolean p3, p2, Lcom/estrongs/android/pop/app/LocalFileSharingActivity$l;->c:Z

    .line 5
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->L()V

    .line 6
    iget-object p2, p0, Lcom/estrongs/android/pop/app/LocalFileSharingActivity;->o:Landroid/widget/BaseAdapter;

    invoke-virtual {p2}, Landroid/widget/BaseAdapter;->notifyDataSetChanged()V

    .line 7
    :cond_1
    monitor-exit p1

    return-void

    :catchall_0
    move-exception p2

    monitor-exit p1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p2
.end method
